# coding:utf-8
# Project:pyinterface
# author:wj
# time:2022/12/30 17:28
# Email:1305137785@qq.com
import os,time
# 查看项目的根目录
base_dir=(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# 测试数据目录路径
test_data_dir = os.path.join(base_dir,"test_data","test.xlsx")
print(test_data_dir)
# 测试用例的路径
test_case_dir = os.path.join(base_dir,"test_cases")
# 图片的路径
image_dir = os.path.join(base_dir,"Image","服务商的.png")

# 日志文件的路径
log_dir = os.path.join(base_dir,"log")
# 测试报告的路径
report_dir = os.path.join(base_dir,"Report")
# 测试报告历史记录
history_dir = os.path.join(base_dir, "Report","history")
# 日志大小
size = "100 MB"
# 日志存储天数
max_log = 10
timestr = time.strftime("%Y-%m-%d_%H_%M_%S")
log_name = os.path.join(log_dir,timestr+"_my.log")

